package com.jf.blogbackened.service;

import com.jf.blogbackened.bean.Category;
import com.jf.blogbackened.bean.Result;

public interface CategoryService {
    Result getPageData(String name, Integer currentPage, Integer pageSize);

    Result insert(Category category);

    Result update(Category category);

    Result getCategoryById(Integer id);

    Result delCategoryById(Integer id);

    Result getAllCategory();
}
